package com.bei_en.teacher.admin.model.questions.bean;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import com.bei_en.teacher.admin.model.BaseBean;
import java.util.*;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import java.math.BigDecimal;
/**
 * 
 * @author Guocg
 * @date 2016-8-15 23:28:11
 */
public class Questions extends BaseBean {
    private Integer id; //
    private String title; // 标题
    private Integer type; // 1是单选题2是判断题3是多选题4是名称解析5简答题
    private Integer type2; // 1题 2是真题
    private Integer questionsTypeId; // 题类型id
    private String answer; // 答案
    private String answers; // 答案
    private Double fraction; // 分数
    private String year;
    private String content; // 题内容
    private String analysis; // 解析
    private Integer makeTime; // 做的时间
    private Integer yesNum; // 做对总人数
    private Integer errorNum; // 做错总人数
    private Integer makeNum; // 做的总人数
    private Integer weight; // 权重 越大越排前面
    private Integer createTime; //
    private String image;
    private String image2;
    private QuestionsType chapter;
    private QuestionsType section;
    private QuestionsType spot;
    private QuestionsType subdivisionPoint;
    private  QuestionsType questionsType;
    
    public QuestionsType getQuestionsType() {
		return questionsType;
	}
	public void setQuestionsType(QuestionsType questionsType) {
		this.questionsType = questionsType;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getImage2() {
		return image2;
	}
	public void setImage2(String image2) {
		this.image2 = image2;
	}
	public Integer getType2() {
        return type2;
    }
    public void setType2(Integer type2) {
        this.type2 = type2;
    }
    public QuestionsType getSubdivisionPoint() {
        return subdivisionPoint;
    }
    public void setSubdivisionPoint(QuestionsType subdivisionPoint) {
        this.subdivisionPoint = subdivisionPoint;
    }
    public String getYear() {
        return year;
    }
    public void setYear(String year) {
        this.year = year;
    }
    public String getAnswers() {
        return answers;
    }
    public void setAnswers(String answers) {
        this.answers = answers;
    }
    public String getAnalysis() {
        return analysis;
    }
    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }
    public QuestionsType getChapter() {
        return chapter;
    }
    public void setChapter(QuestionsType chapter) {
        this.chapter = chapter;
    }
    public QuestionsType getSection() {
        return section;
    }
    public void setSection(QuestionsType section) {
        this.section = section;
    }
    public QuestionsType getSpot() {
        return spot;
    }
    public void setSpot(QuestionsType spot) {
        this.spot = spot;
    }
    public void setId(Integer value) {
        this.id = value;
    }
    public Integer getId() {
        return this.id;
    }
    public void setTitle(String value) {
        this.title = value;
    }
    public String getTitle() {
        return this.title;
    }
    public void setType(Integer value) {
        this.type = value;
    }
    public Integer getType() {
        return this.type;
    }
    public void setQuestionsTypeId(Integer value) {
        this.questionsTypeId = value;
    }
    public Integer getQuestionsTypeId() {
        return this.questionsTypeId;
    }
    public void setAnswer(String value) {
        this.answer = value;
    }
    public String getAnswer() {
        return this.answer;
    }
    public void setFraction(Double value) {
        this.fraction = value;
    }
    public Double getFraction() {
        return this.fraction;
    }
    public void setContent(String value) {
        this.content = value;
    }
    public String getContent() {
        return this.content;
    }
    public void setMakeTime(Integer value) {
        this.makeTime = value;
    }
    public Integer getMakeTime() {
        return this.makeTime;
    }
    public void setYesNum(Integer value) {
        this.yesNum = value;
    }
    public Integer getYesNum() {
        return this.yesNum;
    }
    public void setErrorNum(Integer value) {
        this.errorNum = value;
    }
    public Integer getErrorNum() {
        return this.errorNum;
    }
    public void setMakeNum(Integer value) {
        this.makeNum = value;
    }
    public Integer getMakeNum() {
        return this.makeNum;
    }
    public void setWeight(Integer value) {
        this.weight = value;
    }
    public Integer getWeight() {
        return this.weight;
    }
    public void setCreateTime(Integer value) {
        this.createTime = value;
    }
    public Integer getCreateTime() {
        return this.createTime;
    }
}